<script>
	const {
		safeaqqy
	} = uni.getSystemInfoSync()
</script>
<template>
	<view class="navbar" :style="{paddingTop:safeaqqy?.top+'px'}">
		<view class="logo">
			<image class="logo-image" src="../../../static/images/logo.png" mode=""></image>
			<text class="logo-text">新鲜~亲民~快捷</text>

		</view>
		<view class="search">
			<text class="icon-search">搜索商品</text>
			<text class="icon-scan"></text>
		</view>
	</view>
</template>



<style>
	.navbar {
	
		background: url("");
		background-size: cover;
		position: relative;
		display: flex;
		flex-direction: column;
		padding-top: 20px;
	}

	.logo {
		display: flex;
		align-items: center;
		height: 64rpx;
		padding-left: 30rpx;
	}

	.logo-image {
		width: 166rpx;
		height: 39rpx;
	}

	.logo-text {
		flex: 1;
		line-height: 28rpx;
		color: #fff;
		margin: 2rpx 0 0 20rpx;
		padding-left: 20rpx;
		border-left: 1rpx solid #fff;
		font-size: 26rpx;
	}

	.search {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0px 10rpx 0 26rpx;
		height: 64rpx;
		margin: 16rpx 20rpx;
		color: #fff;
		font-size: 28rpx;
		border-radius: 32rpx;
		background: rgba(255, 255, 255, 0.5);

	}

	.icon-search {
		margin-right: 10rpx;
	}

	.icon-scan {
		font-size: 30rpx;
		padding: 15rpx;
	}
</style>